package com.project.bean;

import java.util.List;

/**
 * 宠主实体类
 */
public class UserBean {
    /**宠主编号*/
    private int id;
    /**宠主用户名*/
    private String code;
    /**宠主密码*/
    private String psw="123";
    /**宠主电话*/
    private String tel;
    /**宠主昵称*/
    private String name;
    /**宠主真实姓名*/
    private String realName;
    /**宠主头像*/
    private String faceImg;

    public UserBean() {
    }

    public UserBean(String code, String psw, String tel, String name, String realName, String faceImg) {
        this.code = code;
        this.psw = psw;
        this.tel = tel;
        this.name = name;
        this.realName = realName;
        this.faceImg = faceImg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getFaceImg() {
        return faceImg;
    }

    public void setFaceImg(String faceImg) {
        this.faceImg = faceImg;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", psw='" + psw + '\'' +
                ", tel='" + tel + '\'' +
                ", name='" + name + '\'' +
                ", realName='" + realName + '\'' +
                ", faceImg='" + faceImg + '\'' +
                '}';
    }
}

